package net.oschina.archx.rmi.server;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * SpringRMIServer
 *
 * @author Archx[archx@foxmail.com]
 * @date 2016/2/24 0024
 */
public class SpringRMIServer {
    public static void main(String[] args) throws InterruptedException {
        ApplicationContext act = new ClassPathXmlApplicationContext("spring-context.xml");

        Object lock = new Object();

        synchronized (lock) {
            lock.wait();
        }

    }
}
